home *** CD-ROM | disk | FTP | other *** search
- /* Moniker 2.0 */
- /* Copyright ©1992 by Michael J. Simms */
-
- /* miscellaneous constants */
- #define NIL 0L /* define nil */
- #define kSleep 10L /* Sleep time for 'WaitNextEvent'. */
-
- /* error constants */
- #define kCantRun 256 /* The conditions are not right to run */
- #define kCantOpen -1 /* The computer failed to open the rsrc file. */
-
- /* resource constants */
- #define kErrorALRTid 128 /* "error" ALRT */
- #define kExplainDLOGid 129 /* "save" ALRT */
- #define kPutFile 130 /* "custom put" DLOG */
- #define kErrorSTRs 128 /* Error string list */
- #define kDefaultStr 1 /* The default error STR# index */
- #define kNoAliasMgrStr 2 /* The can't run without System 7 STR# index */
- #define kCantOpenStr 3 /* The can't open file STR# index */
- #define kAliasRsrcID 0 /*'alis' Resource ID. */
- #define kSaveSTRs 129 /* Save STR */
- #define kSaveStr 1 /* The save STR# index */
-
- /* flag constants */
- #define kAliasFlag 32768 /* Alias flag for finder info. */
-
- /* trap constants */
- #define kTrapMask 0x0800 /* Used with 'GetTrapType' */
-
- extern Boolean gNameManually;